package org.mm.service;

import java.util.List;

import org.mm.model.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RoleService {

	public List<Role> findAll() throws Exception;
	
	public Role findById(Long id) throws Exception;
	
	public Role save(Role contact) throws Exception;
	
	public Page<Role> findAllByPage(Pageable pageable) throws Exception;
	
	public void delete(Role role) throws Exception;

}